package util;

import net.sf.json.JSONObject;

public class ResultFormatUtil {
	public static JSONObject getResultFrom(boolean successful,String message,Object data){
		JSONObject result = new JSONObject();
		result.put("successful",successful);
		result.put("message", message);
		result.put("data", data);
		return result;
	}
}
